package com.hrt.manage.order.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.hrt.bean.OrderDetail;

public interface OrderDetailService {
	public Long totalCount();

	public void  deleteById( Long[] ids) throws Exception;

	public void saveOrderDetail(OrderDetail orderDetail)throws Exception;

	public	List queryByPage(int pageIndex, int pageSize);
	public  List queryByPage(String sql,int pageIndex, int pageSize);
	public void updateOrderDetail(OrderDetail orderDetail);

	public OrderDetail getOrderDetailByid(Long orderDetailId);
	public List<OrderDetail> getOrderDetailByOrderId(Long orderId);
	//根据id删除订单详情
	public boolean delItemById(Long itemId);
}
